phpseclib3\Math\BigInteger A

Total Complexity 70
Dependencies 6
Dependents 119
Total lines 739
Lines of code 263
Logical lines of code 121
Comment lines 341
Methods 56
Properties 5

Methods 56

Method Rating Maintainability Complexity Lines of code
setEngine()
S
52 7 24
initialize_static_variables()
S
55 4 20
__construct()
S
62 3 11
jsonSerialize()
S
68 2 7
__wakeup()
S
68 2 7
__sleep()
S
67 2 8
randomRange()
S
75 1 4
bitwise_leftRotate()
S
80 1 3
bitwise_rightRotate()
S
80 1 3
minMaxBits()
S
65 1 9
getLength()
S
81 1 3
getLengthInBytes()
S
81 1 3
random()
S
73 1 5
randomPrime()
S
73 1 5
randomRangePrime()
S
75 1 4
root()
S
80 1 3
isPrime()
S
80 1 3
bitwise_rightShift()
S
80 1 3
pow()
S
80 1 3
min()
S
68 1 7
max()
S
68 1 7
between()
S
79 1 3
__clone()
S
81 1 3
isOdd()
S
81 1 3
testBit()
S
80 1 3
isNegative()
S
81 1 3
negate()
S
80 1 3
scan1divide()
S
76 1 4
createRecurringModuloFunction()
S
72 1 6
bitwise_leftShift()
S
80 1 3
bitwise_and()
S
80 1 3
bitwise_xor()
S
80 1 3
modInverse()
S
80 1 3
toString()
S
81 1 3
__toString()
S
81 1 3
__debugInfo()
S
81 1 3
toBytes()
S
80 1 3
toHex()
S
80 1 3
toBits()
S
80 1 3
add()
S
80 1 3
subtract()
S
80 1 3
multiply()
S
80 1 3
divide()
S
69 1 7
extendedGCD()
S
67 1 8
bitwise_or()
S
80 1 3
gcd()
S
80 1 3
abs()
S
80 1 3
setPrecision()
S
81 1 3
getPrecision()
S
81 1 3
powMod()
S
79 1 3
modPow()
S
79 1 3
compare()
S
80 1 3
equals()
S
80 1 3
bitwise_not()
S
80 1 3
getEngine()
S
77 1 4
bitwise_split()
S
73 1 5